package com.xiaoshuidi.cloud.module.system.dal.dataobject.oos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.mybatis.core.dataobject.BaseDO;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 对象存储 DO
 *
 * @author Red
 * @author
 */
@TableName("system_image")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class SystemImageDO extends BaseDO {

    /**
     * 系统文件主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     *文件的url
     */
    private String url;

    /**
     * 文件的类型
     */
    @TableField("`type`")
    private String type;

}
